<!--
 * @Author: your name
 * @Date: 2022-03-10 09:49:38
 * @LastEditTime: 2022-03-10 09:53:10
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \day10\3-系统对话框.html
-->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>
        alert(1);
        console.log('2');
        if((confirm('确认删除'))){
            alert('确认');
        
        }else{
            alert('取消')
        }
      var result=  prompt('请输入你的姓氏');
      console.debug(result.value)
    </script>
</head>
<body>
    
</body>
</html>